package com.atguigu.myzhxy.service;

import com.atguigu.myzhxy.pojo.LoginFrom;
import com.atguigu.myzhxy.pojo.Teacher;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * Created with IntelliJ IDEA.
 * ClassName: TeacherService
 * Package: com.atguigu.myzhxy.service
 * Description:
 * User: fzykd
 *
 * @Author: LQH
 * Date: 2023-01-12
 * Time: 15:38
 */

public interface TeacherService extends IService<Teacher> {
    Teacher login(LoginFrom loginFrom);

    Teacher getTeacherById(Long userId);

    IPage<Teacher> getTeachersByOrp(Page<Teacher> pageParam, Teacher teacher);
}
